package com.masterstroke.template.common.utils;

import java.util.UUID;
public class Encipher {

    public static String getUUID(){
        UUID uuid = UUID.randomUUID();
        return uuid.toString().replaceAll("-", "");
    }

    public static String getUUID(String password){
        UUID uuid = UUID.nameUUIDFromBytes(password.getBytes());
        return uuid.toString().replaceAll("-", "");
    }

}
